package ch.ethz.fcl.metrobuzz.controller.gui.twl.frames;

import ch.ethz.fcl.metrobuzz.controller.MBController;
import de.matthiasmann.twl.DialogLayout;
import de.matthiasmann.twl.Widget;

public class LayerControlFrame extends MBFrame{
	public LayerControlFrame(MBController control) {
		super.create(control, "Layer");
	}
	
	@Override
	protected void setLayout() {
		Widget mrtTable = new MRTLineControlTree().create();

		DialogLayout.Group hGroup = layout.createParallelGroup().addWidget(
				mrtTable);

		DialogLayout.Group vGroup = layout.createSequentialGroup().addWidget(
				mrtTable);

		layout.setHorizontalGroup(hGroup);
		layout.setVerticalGroup(vGroup);		
	}
}
